package com.zzyl.mapper;

import com.zzyl.dto.ResourceDto;
import com.zzyl.entity.Resource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 29400
* @description 针对表【sys_resource(权限表)】的数据库操作Mapper
* @createDate 2024-05-17 11:37:38
* @Entity com.zzyl.entity1.Resource
*/
@Mapper
public interface ResourceMapper {

    //资源列表查询
    List<Resource> selectList(ResourceDto resourceDto);

    //根据id查询资源数据
    List<Resource> selectListByUserId(Long userId);
}
